package spring.cloud.service.task.analyzer;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Setter
@Getter
public class ExecutorStatistics {

    private String nameSpace;
    private String executorId;
    private String ip;
    private int loadLevel;
    private boolean docker = false;


    /**
     * e.g. job1:1,3;job2:0,4,6;job3:0
     */
    private String jobAndShardings;


    public ExecutorStatistics(String domain, String executorName) {
        this.executorId = executorName;
        this.nameSpace = domain;
    }


}
